home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 16520 < prev    next >
Encoding:
Text File  |  1996-08-05  |  764 b   |  41 lines

  1. Path: maui.cc.odu.edu!news
  2. From: "CLEVELAND O. BURNETT" <cob@cs.odu.edu>
  3. Newsgroups: comp.lang.c++
  4. Subject: THE STRUCT of C++
  5. Date: Wed, 10 Apr 1996 21:56:42 -0400 (EDT)
  6. Organization: Old Dominion University
  7. Message-ID: <Pine.SUN.3.90.960410214925.10294B-100000@rose.cs.odu.edu>
  8. NNTP-Posting-Host: rose.cs.odu.edu
  9. Mime-Version: 1.0
  10. Content-Type: TEXT/PLAIN; charset=US-ASCII
  11.  
  12.  
  13.  
  14. To all who may read this?
  15.  
  16.  
  17.  
  18. I have a textfile that I am trying to read as a C++  struct!!!!!
  19.  
  20. How can I do this?
  21.  
  22.  
  23. The STRUCT of C++
  24.  
  25.  
  26.  
  27. struct students {
  28. char firstname[20];
  29. char middle_initial;
  30. char lastname[20];
  31. char address1[40];
  32. char address2[30];
  33. char phone_number[7];
  34. char email[50];};
  35.  
  36.  
  37. PLEASE HELP ME!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  38.  
  39.  
  40.             Cleveland.................
  41.